#pragma once

#include "BaseShape.h"
#ifndef _CIRCLE_
#define _CIRCLE_

#ifdef NUM_OF_ANGLE
#undef NUM_OF_ANGLE
#endif
#define NUM_OF_ANGLE 10


class CCircle : public BaseShape
{
private:
	CRect m_rectEclipse;
public:
	CCircle(void);
	CCircle(CPoint, CPoint, COLORREF);
	CCircle (CPoint m_pBegin, CPoint m_pEnd, COLORREF m_clrBack, COLORREF m_cPenColor, BASESHAPE__T m_nShapeType, INT m_nRotate);
	BOOL Draw(CDC *cDC);
	~CCircle(void);
	void Serialize ( CArchive &ar );
private:
	//thiet lap toa do cho cac dinh trong hinh chu nhat
	void setCoordinate();
};

#endif